from django.db import models

# Create your models here.


class SecretModel(models.Model):

    name = models.CharField(max_length=25, verbose_name="名字", null=False)
    content = models.CharField(max_length=255, verbose_name="内容")
    create_time = models.DateTimeField(auto_now_add=True, verbose_name="创建时间")

    class Meta:
        db_table = "tb_message"
        verbose_name = "留言表"
        verbose_name_plural = verbose_name